1. Download "replication" folder to "Downloads" folder
	-replication folder contains all code and folders to replicate analyses
2. Download V-Dem and DALP data from the following links:
	- V-Dem Core version 12 (2022): https://v-dem.net/data/dataset-archive/
	- DALP: https://sites.duke.edu/democracylinkage/data/
3. Run "do file"
	-runs all analyses, saves relevant tables and figures in "figures and tables" folder, and logs all output
	-also runs the do file "vdem" which modifies the raw country-level vdem dataset for merging
	-do file was created on Stata/SE 18
	-NOTE: This do file was created to run on Windows. If you are running your replication on Mac/Linux, make sure to update all file paths in "do file.do". If you do not, the script will not run.
4. To replicate the AmericasBarometer data analyses using publicly available AB data at http://datasets.americasbarometer.org/database, run "do file_publicAB". In addition to the "do file" analyses, this code will create 3 variables that are used in the analyses but not available in public AB data sets.